package cn.com.yusys.yusp.mobile.service;

import cn.com.yusys.yusp.admin.Utils.IDUtils;
import cn.com.yusys.yusp.commons.mapper.CommonMapper;
import cn.com.yusys.yusp.commons.service.CommonService;
import cn.com.yusys.yusp.mobile.repository.mapper.OcrmFMkInterviewInfoMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * 网格拜访签到
 * @author zoie
 */
@Service("ocrmFMkInterviewInfoService")
public class OcrmFMkInterviewInfoService extends CommonService {

    private static Logger logger = LoggerFactory.getLogger(OcrmFMkInterviewInfoService.class);
    @Resource
    private OcrmFMkInterviewInfoMapper ocrmFMkInterviewInfoMapper;

    @Override
    protected CommonMapper getMapper() {
        return null;
    }

    /**
     * 网格拜访签到保存
     * @return
     */
    public int saveInterviewInfo(Map map) {
        map.put("cevId", IDUtils.getGuid());
        int count = ocrmFMkInterviewInfoMapper.saveInterviewInfo(map);
        return count;
    }
}